import request from '../utils/request'

// 登录方法
export function Login(data) {
  return request({
      url: '/api/v0/login',
      method: 'post',
      data
  })
}

// \退出登陆
export function Loginout(data) {
  return request({
      url: '/api/v0/logout',
      method: 'post',
      data
  })
}